#ifndef MY_LOG_H
#define MY_LOG_H




void logLevelC(int level, const char *fmt, ...);
void logInfoBufC(char *data, int len,const  char *pre_str,int printlen);

#define    logBuf     logInfoBufC

#define    logError(xx,args...)    logLevelC(0, xx, ##args)
#define    logWarn(xx,args...)    logLevelC(1, xx, ##args)
#define    logInfo(xx,args...)    logLevelC(2, xx, ##args)
#define    logDebug(xx,args...)    logLevelC(3, xx, ##args)
void logInfo1(const char *fmt, ...);


#endif // MY_LOG_H
